import {ColumnsUtil} from "@/utils";


export const BASIC_MAIN_COLUMNS = [
    ColumnsUtil.avatarColumn('头像', 'avatar', true,80,40,"center"),
    ColumnsUtil.normalColumn('会员昵称', 'nickName', 120),
    ColumnsUtil.normalColumn('手机号码', 'phoneNumber', 125),
    ColumnsUtil.normalColumn('设备型号', 'imei', 120),
    ColumnsUtil.normalColumn('设备系统', 'client', 120),
    ColumnsUtil.booleanColumn("账号状态", 'activate', '正常账号', '注销账号', 120),
    ColumnsUtil.booleanColumn("会员属性", 'realAttr', '真实会员', '虚拟会员', 120),
    ColumnsUtil.normalColumn("企业会员", 'firmAttr', 100, 'center'),
    ColumnsUtil.normalColumn('邀请注册', 'inviteMode',100  ,'center' ),
    ColumnsUtil.normalColumn('邀请人姓名', 'inviterInfoName',120  ,'center' ),
    ColumnsUtil.normalColumn('邀请人手机', 'inviterInfoPhone',125  ,'center' ),
    ColumnsUtil.emptyColumn('公众号', 'wxMpId', '未绑定', '已绑定', 100, true, "center"),
    ColumnsUtil.normalColumn('注册时间', 'regTime', 175),
    ColumnsUtil.normalColumn('备注', 'remarks', 200),
    ColumnsUtil.actionColumn(80)
]


export const ADDRESS_COLUMNS = [
    ColumnsUtil.normalColumn("地址编号", "id", 190),
    ColumnsUtil.normalColumn("收货人姓名", "name", 130),
    ColumnsUtil.normalColumn("收货人电话", "mobile", 130),
    ColumnsUtil.normalColumn("省份", "province", 130),
    ColumnsUtil.normalColumn("城市", "city", 130),
    ColumnsUtil.normalColumn("区县", "district", 130),
    ColumnsUtil.normalColumn("详细地址", "address", 0),
    ColumnsUtil.normalColumn("关联会员编号", "memberId", 178),
];


export const ACCOUNT_COLUMNS = [
    ColumnsUtil.normalColumn("会员编号", "member.id", 190),
    ColumnsUtil.normalColumn("会员昵称", "member.nickName", 0),
    ColumnsUtil.normalColumn("手机号码", "member.phoneNumber", 150),
    ColumnsUtil.normalColumn("性别", "member.sex.label", 100,'center'),
    ColumnsUtil.normalColumn("现金余额", "cashBalance", 100,'center'),
    ColumnsUtil.normalColumn("金币余额", "coinBalance", 100,'center'),
    ColumnsUtil.normalColumn("活跃能量", "powerBalance", 100,'center'),
    ColumnsUtil.normalColumn("助力钻石", "medalBalance", 100,'center'),
    ColumnsUtil.normalColumn("鸡蛋数量", "eggQuantity", 100,'center'),
    ColumnsUtil.normalColumn("最后动账时间", "updateTime", 180),
    ColumnsUtil.actionColumn(160)
];

